import mitt from 'mitt'

type Events = {
  /**
   * 刷新当前页面
   */
  refleshCurrentTabView: void

  /**
   * 刷新通知
   */
  refleshNotice: void
}

export const emitter = mitt<Events>()
